import request from "@/utils/request";

//获取装备/工具 状态统计
export function GetDeviceStateStatistics(data) {
  return request({
    url: "api/Index/GetDeviceStateStatistics",
    method: "post",
    data,
    loading:false,
  });
}

//场地使用率
export function GetPlaceUseRate(data) {
  return request({
    url: "api/Index/GetPlaceUseRate",
    method: "post",
    data,
  });
}

//获取6S问题统计
export function Get6SProblemStatistics(data) {
  return request({
    url: "api/Index/Get6SProblemStatistics",
    method: "post",
    data,
  });
}

//获取考证合格率
export function GetExamPassRate(data) {
  return request({
    url: "api/Index/GetExamPassRate",
    method: "post",
    data,
  });
}

//获取课程使用排名
export function GetCourseUseRank(data) {
  return request({
    url: "api/Index/GetCourseUseRank",
    method: "post",
    data,
  });
}
